﻿using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MDK.Winform
{
    public partial class Signal : XtraUserControl
    {
        public Signal()
        {
            InitializeComponent();
        }

        public void Set1()
        {
            NoPic.Invoke(new MethodInvoker(() =>
            {
                this.NoPic.Image = MDK.Winform.Properties.Resources._1;
            }));
            
        }

        public void Set2()
        {
            NoPic.Invoke(new MethodInvoker(() =>
            {
                this.NoPic.Image = MDK.Winform.Properties.Resources._2;
            }));
        }

        public void Set3()
        {
            NoPic.Invoke(new MethodInvoker(() =>
            {
                this.NoPic.Image = MDK.Winform.Properties.Resources._3;
            }));
        }

        public void Set4()
        {
            NoPic.Invoke(new MethodInvoker(() =>
            {
                this.NoPic.Image = MDK.Winform.Properties.Resources._4;
            }));
        }
    }
}
